/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-02-24     86188       the first version
 */
#ifndef APPLICATIONS_HEADER_FILE_G_IO_MANAGE_H_
#define APPLICATIONS_HEADER_FILE_G_IO_MANAGE_H_
#include "board.h"
#include <rtdevice.h>

typedef enum
{
    led_Yellow = 64,
    led_Blue,
    led_Green,
    led_Red,
    Beep,
}G_io_set;

typedef struct
{
    void (*high)(uint8_t ID);
    void (*low)(uint8_t ID);
    void (*toggle)(uint8_t ID);
    void (*init_Pout)(uint8_t ID);
    void (*init_Dout)(uint8_t ID);
    void (*init_In)(uint8_t ID);
}G_ioHandleTypedef;

extern G_ioHandleTypedef   G_ioHandle;
#endif /* APPLICATIONS_HEADER_FILE_G_IO_MANAGE_H_ */
